'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_SECURITY, FACILITY_SSPI = 9
    Public NotInheritable Class SSPI
        Private Sub New()
        End Sub

        Public Shared ReadOnly ERROR_AUDITING_DISABLED As HResult = &HC0090001
        Public Shared ReadOnly NTE_BAD_UID As HResult = &H80090001
        Public Shared ReadOnly ERROR_ALL_SIDS_FILTERED As HResult = &HC0090002
        Public Shared ReadOnly NTE_BAD_HASH As HResult = &H80090002
        Public Shared ReadOnly ERROR_BIZRULES_NOT_ENABLED As HResult = &HC0090003
        Public Shared ReadOnly NTE_BAD_KEY As HResult = &H80090003
        Public Shared ReadOnly NTE_BAD_LEN As HResult = &H80090004
        Public Shared ReadOnly NTE_BAD_DATA As HResult = &H80090005
        Public Shared ReadOnly NTE_BAD_SIGNATURE As HResult = &H80090006
        Public Shared ReadOnly NTE_BAD_VER As HResult = &H80090007
        Public Shared ReadOnly NTE_BAD_ALGID As HResult = &H80090008
        Public Shared ReadOnly NTE_BAD_FLAGS As HResult = &H80090009
        Public Shared ReadOnly NTE_BAD_TYPE As HResult = &H8009000A
        Public Shared ReadOnly NTE_BAD_KEY_STATE As HResult = &H8009000B
        Public Shared ReadOnly NTE_BAD_HASH_STATE As HResult = &H8009000C
        Public Shared ReadOnly NTE_NO_KEY As HResult = &H8009000D
        Public Shared ReadOnly NTE_NO_MEMORY As HResult = &H8009000E
        Public Shared ReadOnly NTE_EXISTS As HResult = &H8009000F
        Public Shared ReadOnly NTE_PERM As HResult = &H80090010
        Public Shared ReadOnly NTE_NOT_FOUND As HResult = &H80090011
        Public Shared ReadOnly NTE_DOUBLE_ENCRYPT As HResult = &H80090012
        Public Shared ReadOnly NTE_BAD_PROVIDER As HResult = &H80090013
        Public Shared ReadOnly NTE_BAD_PROV_TYPE As HResult = &H80090014
        Public Shared ReadOnly NTE_BAD_PUBLIC_KEY As HResult = &H80090015
        Public Shared ReadOnly NTE_BAD_KEYSET As HResult = &H80090016
        Public Shared ReadOnly NTE_PROV_TYPE_NOT_DEF As HResult = &H80090017
        Public Shared ReadOnly NTE_PROV_TYPE_ENTRY_BAD As HResult = &H80090018
        Public Shared ReadOnly NTE_KEYSET_NOT_DEF As HResult = &H80090019
        Public Shared ReadOnly NTE_KEYSET_ENTRY_BAD As HResult = &H8009001A
        Public Shared ReadOnly NTE_PROV_TYPE_NO_MATCH As HResult = &H8009001B
        Public Shared ReadOnly NTE_SIGNATURE_FILE_BAD As HResult = &H8009001C
        Public Shared ReadOnly NTE_PROVIDER_DLL_FAIL As HResult = &H8009001D
        Public Shared ReadOnly NTE_PROV_DLL_NOT_FOUND As HResult = &H8009001E
        Public Shared ReadOnly NTE_BAD_KEYSET_PARAM As HResult = &H8009001F
        Public Shared ReadOnly NTE_FAIL As HResult = &H80090020
        Public Shared ReadOnly NTE_SYS_ERR As HResult = &H80090021
        Public Shared ReadOnly NTE_SILENT_CONTEXT As HResult = &H80090022
        Public Shared ReadOnly NTE_TOKEN_KEYSET_STORAGE_FULL As HResult = &H80090023
        Public Shared ReadOnly NTE_TEMPORARY_PROFILE As HResult = &H80090024
        Public Shared ReadOnly NTE_FIXEDPARAMETER As HResult = &H80090025
        Public Shared ReadOnly NTE_INVALID_HANDLE As HResult = &H80090026
        Public Shared ReadOnly NTE_INVALID_PARAMETER As HResult = &H80090027
        Public Shared ReadOnly NTE_BUFFER_TOO_SMALL As HResult = &H80090028
        Public Shared ReadOnly NTE_NOT_SUPPORTED As HResult = &H80090029
        Public Shared ReadOnly NTE_NO_MORE_ITEMS As HResult = &H8009002A
        Public Shared ReadOnly NTE_BUFFERS_OVERLAP As HResult = &H8009002B
        Public Shared ReadOnly NTE_DECRYPTION_FAILURE As HResult = &H8009002C
        Public Shared ReadOnly NTE_INTERNAL_ERROR As HResult = &H8009002D
        Public Shared ReadOnly NTE_UI_REQUIRED As HResult = &H8009002E
        Public Shared ReadOnly NTE_HMAC_NOT_SUPPORTED As HResult = &H8009002F
        Public Shared ReadOnly SEC_E_INSUFFICIENT_MEMORY As HResult = &H80090300
        Public Shared ReadOnly SEC_E_INVALID_HANDLE As HResult = &H80090301
        Public Shared ReadOnly SEC_E_UNSUPPORTED_FUNCTION As HResult = &H80090302
        Public Shared ReadOnly SEC_E_TARGET_UNKNOWN As HResult = &H80090303
        Public Shared ReadOnly SEC_E_INTERNAL_ERROR As HResult = &H80090304
        Public Shared ReadOnly SEC_E_SECPKG_NOT_FOUND As HResult = &H80090305
        Public Shared ReadOnly SEC_E_NOT_OWNER As HResult = &H80090306
        Public Shared ReadOnly SEC_E_CANNOT_INSTALL As HResult = &H80090307
        Public Shared ReadOnly SEC_E_INVALID_TOKEN As HResult = &H80090308
        Public Shared ReadOnly SEC_E_CANNOT_PACK As HResult = &H80090309
        Public Shared ReadOnly SEC_E_QOP_NOT_SUPPORTED As HResult = &H8009030A
        Public Shared ReadOnly SEC_E_NO_IMPERSONATION As HResult = &H8009030B
        Public Shared ReadOnly SEC_E_LOGON_DENIED As HResult = &H8009030C
        Public Shared ReadOnly SEC_E_UNKNOWN_CREDENTIALS As HResult = &H8009030D
        Public Shared ReadOnly SEC_E_NO_CREDENTIALS As HResult = &H8009030E
        Public Shared ReadOnly SEC_E_MESSAGE_ALTERED As HResult = &H8009030F
        Public Shared ReadOnly SEC_E_OUT_OF_SEQUENCE As HResult = &H80090310
        Public Shared ReadOnly SEC_E_NO_AUTHENTICATING_AUTHORITY As HResult = &H80090311
        Public Shared ReadOnly SEC_I_CONTINUE_NEEDED As HResult = &H90312
        Public Shared ReadOnly SEC_I_COMPLETE_NEEDED As HResult = &H90313
        Public Shared ReadOnly SEC_I_COMPLETE_AND_CONTINUE As HResult = &H90314
        Public Shared ReadOnly SEC_I_LOCAL_LOGON As HResult = &H90315
        Public Shared ReadOnly SEC_E_BAD_PKGID As HResult = &H80090316
        Public Shared ReadOnly SEC_E_CONTEXT_EXPIRED As HResult = &H80090317
        Public Shared ReadOnly SEC_I_CONTEXT_EXPIRED As HResult = &H90317
        Public Shared ReadOnly SEC_E_INCOMPLETE_MESSAGE As HResult = &H80090318
        Public Shared ReadOnly SEC_E_INCOMPLETE_CREDENTIALS As HResult = &H80090320
        Public Shared ReadOnly SEC_I_INCOMPLETE_CREDENTIALS As HResult = &H90320
        Public Shared ReadOnly SEC_E_BUFFER_TOO_SMALL As HResult = &H80090321
        Public Shared ReadOnly SEC_I_RENEGOTIATE As HResult = &H90321
        Public Shared ReadOnly SEC_E_WRONG_PRINCIPAL As HResult = &H80090322
        Public Shared ReadOnly SEC_I_NO_LSA_CONTEXT As HResult = &H90323
        Public Shared ReadOnly SEC_E_TIME_SKEW As HResult = &H80090324
        Public Shared ReadOnly SEC_E_UNTRUSTED_ROOT As HResult = &H80090325
        Public Shared ReadOnly SEC_E_ILLEGAL_MESSAGE As HResult = &H80090326
        Public Shared ReadOnly SEC_E_CERT_UNKNOWN As HResult = &H80090327
        Public Shared ReadOnly SEC_E_CERT_EXPIRED As HResult = &H80090328
        Public Shared ReadOnly SEC_E_ENCRYPT_FAILURE As HResult = &H80090329
        Public Shared ReadOnly SEC_E_DECRYPT_FAILURE As HResult = &H80090330
        Public Shared ReadOnly SEC_E_ALGORITHM_MISMATCH As HResult = &H80090331
        Public Shared ReadOnly SEC_E_SECURITY_QOS_FAILED As HResult = &H80090332
        Public Shared ReadOnly SEC_E_UNFINISHED_CONTEXT_DELETED As HResult = &H80090333
        Public Shared ReadOnly SEC_E_NO_TGT_REPLY As HResult = &H80090334
        Public Shared ReadOnly SEC_E_NO_IP_ADDRESSES As HResult = &H80090335
        Public Shared ReadOnly SEC_E_WRONG_CREDENTIAL_HANDLE As HResult = &H80090336
        Public Shared ReadOnly SEC_E_CRYPTO_SYSTEM_INVALID As HResult = &H80090337
        Public Shared ReadOnly SEC_E_MAX_REFERRALS_EXCEEDED As HResult = &H80090338
        Public Shared ReadOnly SEC_E_MUST_BE_KDC As HResult = &H80090339
        Public Shared ReadOnly SEC_E_STRONG_CRYPTO_NOT_SUPPORTED As HResult = &H8009033A
        Public Shared ReadOnly SEC_E_TOO_MANY_PRINCIPALS As HResult = &H8009033B
        Public Shared ReadOnly SEC_E_NO_PA_DATA As HResult = &H8009033C
        Public Shared ReadOnly SEC_E_PKINIT_NAME_MISMATCH As HResult = &H8009033D
        Public Shared ReadOnly SEC_E_SMARTCARD_LOGON_REQUIRED As HResult = &H8009033E
        Public Shared ReadOnly SEC_E_SHUTDOWN_IN_PROGRESS As HResult = &H8009033F
        Public Shared ReadOnly SEC_E_KDC_INVALID_REQUEST As HResult = &H80090340
        Public Shared ReadOnly SEC_E_KDC_UNABLE_TO_REFER As HResult = &H80090341
        Public Shared ReadOnly SEC_E_KDC_UNKNOWN_ETYPE As HResult = &H80090342
        Public Shared ReadOnly SEC_E_UNSUPPORTED_PREAUTH As HResult = &H80090343
        Public Shared ReadOnly SEC_E_DELEGATION_REQUIRED As HResult = &H80090345
        Public Shared ReadOnly SEC_E_BAD_BINDINGS As HResult = &H80090346
        Public Shared ReadOnly SEC_E_MULTIPLE_ACCOUNTS As HResult = &H80090347
        Public Shared ReadOnly SEC_E_NO_KERB_KEY As HResult = &H80090348
        Public Shared ReadOnly SEC_E_CERT_WRONG_USAGE As HResult = &H80090349
        Public Shared ReadOnly SEC_E_DOWNGRADE_DETECTED As HResult = &H80090350
        Public Shared ReadOnly SEC_E_SMARTCARD_CERT_REVOKED As HResult = &H80090351
        Public Shared ReadOnly SEC_E_ISSUING_CA_UNTRUSTED As HResult = &H80090352
        Public Shared ReadOnly SEC_E_REVOCATION_OFFLINE_C As HResult = &H80090353
        Public Shared ReadOnly SEC_E_PKINIT_CLIENT_FAILURE As HResult = &H80090354
        Public Shared ReadOnly SEC_E_SMARTCARD_CERT_EXPIRED As HResult = &H80090355
        Public Shared ReadOnly SEC_E_NO_S4U_PROT_SUPPORT As HResult = &H80090356
        Public Shared ReadOnly SEC_E_CROSSREALM_DELEGATION_FAILURE As HResult = &H80090357
        Public Shared ReadOnly SEC_E_REVOCATION_OFFLINE_KDC As HResult = &H80090358
        Public Shared ReadOnly SEC_E_ISSUING_CA_UNTRUSTED_KDC As HResult = &H80090359
        Public Shared ReadOnly SEC_E_KDC_CERT_EXPIRED As HResult = &H8009035A
        Public Shared ReadOnly SEC_E_KDC_CERT_REVOKED As HResult = &H8009035B
        Public Shared ReadOnly SEC_I_SIGNATURE_NEEDED As HResult = &H9035C
        Public Shared ReadOnly SEC_E_INVALID_PARAMETER As HResult = &H8009035D
        Public Shared ReadOnly SEC_E_DELEGATION_POLICY As HResult = &H8009035E
        Public Shared ReadOnly SEC_E_POLICY_NLTM_ONLY As HResult = &H8009035F
        Public Shared ReadOnly SEC_I_NO_RENEGOTIATION As HResult = &H90360
        Public Shared ReadOnly CRYPT_E_MSG_ERROR As HResult = &H80091001
        Public Shared ReadOnly CRYPT_E_UNKNOWN_ALGO As HResult = &H80091002
        Public Shared ReadOnly CRYPT_E_OID_FORMAT As HResult = &H80091003
        Public Shared ReadOnly CRYPT_E_INVALID_MSG_TYPE As HResult = &H80091004
        Public Shared ReadOnly CRYPT_E_UNEXPECTED_ENCODING As HResult = &H80091005
        Public Shared ReadOnly CRYPT_E_AUTH_ATTR_MISSING As HResult = &H80091006
        Public Shared ReadOnly CRYPT_E_HASH_VALUE As HResult = &H80091007
        Public Shared ReadOnly CRYPT_E_INVALID_INDEX As HResult = &H80091008
        Public Shared ReadOnly CRYPT_E_ALREADY_DECRYPTED As HResult = &H80091009
        Public Shared ReadOnly CRYPT_E_NOT_DECRYPTED As HResult = &H8009100A
        Public Shared ReadOnly CRYPT_E_RECIPIENT_NOT_FOUND As HResult = &H8009100B
        Public Shared ReadOnly CRYPT_E_CONTROL_TYPE As HResult = &H8009100C
        Public Shared ReadOnly CRYPT_E_ISSUER_SERIALNUMBER As HResult = &H8009100D
        Public Shared ReadOnly CRYPT_E_SIGNER_NOT_FOUND As HResult = &H8009100E
        Public Shared ReadOnly CRYPT_E_ATTRIBUTES_MISSING As HResult = &H8009100F
        Public Shared ReadOnly CRYPT_E_STREAM_MSG_NOT_READY As HResult = &H80091010
        Public Shared ReadOnly CRYPT_E_STREAM_INSUFFICIENT_DATA As HResult = &H80091011
        Public Shared ReadOnly CRYPT_I_NEW_PROTECTION_REQUIRED As HResult = &H91012
        Public Shared ReadOnly CRYPT_E_BAD_LEN As HResult = &H80092001
        Public Shared ReadOnly CRYPT_E_BAD_ENCODE As HResult = &H80092002
        Public Shared ReadOnly CRYPT_E_FILE_ERROR As HResult = &H80092003
        Public Shared ReadOnly CRYPT_E_NOT_FOUND As HResult = &H80092004
        Public Shared ReadOnly CRYPT_E_EXISTS As HResult = &H80092005
        Public Shared ReadOnly CRYPT_E_NO_PROVIDER As HResult = &H80092006
        Public Shared ReadOnly CRYPT_E_SELF_SIGNED As HResult = &H80092007
        Public Shared ReadOnly CRYPT_E_DELETED_PREV As HResult = &H80092008
        Public Shared ReadOnly CRYPT_E_NO_MATCH As HResult = &H80092009
        Public Shared ReadOnly CRYPT_E_UNEXPECTED_MSG_TYPE As HResult = &H8009200A
        Public Shared ReadOnly CRYPT_E_NO_KEY_PROPERTY As HResult = &H8009200B
        Public Shared ReadOnly CRYPT_E_NO_DECRYPT_CERT As HResult = &H8009200C
        Public Shared ReadOnly CRYPT_E_BAD_MSG As HResult = &H8009200D
        Public Shared ReadOnly CRYPT_E_NO_SIGNER As HResult = &H8009200E
        Public Shared ReadOnly CRYPT_E_PENDING_CLOSE As HResult = &H8009200F
        Public Shared ReadOnly CRYPT_E_REVOKED As HResult = &H80092010
        Public Shared ReadOnly CRYPT_E_NO_REVOCATION_DLL As HResult = &H80092011
        Public Shared ReadOnly CRYPT_E_NO_REVOCATION_CHECK As HResult = &H80092012
        Public Shared ReadOnly CRYPT_E_REVOCATION_OFFLINE As HResult = &H80092013
        Public Shared ReadOnly CRYPT_E_NOT_IN_REVOCATION_DATABASE As HResult = &H80092014
        Public Shared ReadOnly CRYPT_E_INVALID_NUMERIC_STRING As HResult = &H80092020
        Public Shared ReadOnly CRYPT_E_INVALID_PRINTABLE_STRING As HResult = &H80092021
        Public Shared ReadOnly CRYPT_E_INVALID_IA5_STRING As HResult = &H80092022
        Public Shared ReadOnly CRYPT_E_INVALID_X500_STRING As HResult = &H80092023
        Public Shared ReadOnly CRYPT_E_NOT_CHAR_STRING As HResult = &H80092024
        Public Shared ReadOnly CRYPT_E_FILERESIZED As HResult = &H80092025
        Public Shared ReadOnly CRYPT_E_SECURITY_SETTINGS As HResult = &H80092026
        Public Shared ReadOnly CRYPT_E_NO_VERIFY_USAGE_DLL As HResult = &H80092027
        Public Shared ReadOnly CRYPT_E_NO_VERIFY_USAGE_CHECK As HResult = &H80092028
        Public Shared ReadOnly CRYPT_E_VERIFY_USAGE_OFFLINE As HResult = &H80092029
        Public Shared ReadOnly CRYPT_E_NOT_IN_CTL As HResult = &H8009202A
        Public Shared ReadOnly CRYPT_E_NO_TRUSTED_SIGNER As HResult = &H8009202B
        Public Shared ReadOnly CRYPT_E_MISSING_PUBKEY_PARA As HResult = &H8009202C
        Public Shared ReadOnly CRYPT_E_OSS_ERROR As HResult = &H80093000
        Public Shared ReadOnly OSS_MORE_BUF As HResult = &H80093001
        Public Shared ReadOnly OSS_NEGATIVE_UINTEGER As HResult = &H80093002
        Public Shared ReadOnly OSS_PDU_RANGE As HResult = &H80093003
        Public Shared ReadOnly OSS_MORE_INPUT As HResult = &H80093004
        Public Shared ReadOnly OSS_DATA_ERROR As HResult = &H80093005
        Public Shared ReadOnly OSS_BAD_ARG As HResult = &H80093006
        Public Shared ReadOnly OSS_BAD_VERSION As HResult = &H80093007
        Public Shared ReadOnly OSS_OUT_MEMORY As HResult = &H80093008
        Public Shared ReadOnly OSS_PDU_MISMATCH As HResult = &H80093009
        Public Shared ReadOnly OSS_LIMITED As HResult = &H8009300A
        Public Shared ReadOnly OSS_BAD_PTR As HResult = &H8009300B
        Public Shared ReadOnly OSS_BAD_TIME As HResult = &H8009300C
        Public Shared ReadOnly OSS_INDEFINITE_NOT_SUPPORTED As HResult = &H8009300D
        Public Shared ReadOnly OSS_MEM_ERROR As HResult = &H8009300E
        Public Shared ReadOnly OSS_BAD_TABLE As HResult = &H8009300F
        Public Shared ReadOnly OSS_TOO_LONG As HResult = &H80093010
        Public Shared ReadOnly OSS_CONSTRAINT_VIOLATED As HResult = &H80093011
        Public Shared ReadOnly OSS_FATAL_ERROR As HResult = &H80093012
        Public Shared ReadOnly OSS_ACCESS_SERIALIZATION_ERROR As HResult = &H80093013
        Public Shared ReadOnly OSS_NULL_TBL As HResult = &H80093014
        Public Shared ReadOnly OSS_NULL_FCN As HResult = &H80093015
        Public Shared ReadOnly OSS_BAD_ENCRULES As HResult = &H80093016
        Public Shared ReadOnly OSS_UNAVAIL_ENCRULES As HResult = &H80093017
        Public Shared ReadOnly OSS_CANT_OPEN_TRACE_WINDOW As HResult = &H80093018
        Public Shared ReadOnly OSS_UNIMPLEMENTED As HResult = &H80093019
        Public Shared ReadOnly OSS_OID_DLL_NOT_LINKED As HResult = &H8009301A
        Public Shared ReadOnly OSS_CANT_OPEN_TRACE_FILE As HResult = &H8009301B
        Public Shared ReadOnly OSS_TRACE_FILE_ALREADY_OPEN As HResult = &H8009301C
        Public Shared ReadOnly OSS_TABLE_MISMATCH As HResult = &H8009301D
        Public Shared ReadOnly OSS_TYPE_NOT_SUPPORTED As HResult = &H8009301E
        Public Shared ReadOnly OSS_REAL_DLL_NOT_LINKED As HResult = &H8009301F
        Public Shared ReadOnly OSS_REAL_CODE_NOT_LINKED As HResult = &H80093020
        Public Shared ReadOnly OSS_OUT_OF_RANGE As HResult = &H80093021
        Public Shared ReadOnly OSS_COPIER_DLL_NOT_LINKED As HResult = &H80093022
        Public Shared ReadOnly OSS_CONSTRAINT_DLL_NOT_LINKED As HResult = &H80093023
        Public Shared ReadOnly OSS_COMPARATOR_DLL_NOT_LINKED As HResult = &H80093024
        Public Shared ReadOnly OSS_COMPARATOR_CODE_NOT_LINKED As HResult = &H80093025
        Public Shared ReadOnly OSS_MEM_MGR_DLL_NOT_LINKED As HResult = &H80093026
        Public Shared ReadOnly OSS_PDV_DLL_NOT_LINKED As HResult = &H80093027
        Public Shared ReadOnly OSS_PDV_CODE_NOT_LINKED As HResult = &H80093028
        Public Shared ReadOnly OSS_API_DLL_NOT_LINKED As HResult = &H80093029
        Public Shared ReadOnly OSS_BERDER_DLL_NOT_LINKED As HResult = &H8009302A
        Public Shared ReadOnly OSS_PER_DLL_NOT_LINKED As HResult = &H8009302B
        Public Shared ReadOnly OSS_OPEN_TYPE_ERROR As HResult = &H8009302C
        Public Shared ReadOnly OSS_MUTEX_NOT_CREATED As HResult = &H8009302D
        Public Shared ReadOnly OSS_CANT_CLOSE_TRACE_FILE As HResult = &H8009302E
        Public Shared ReadOnly CRYPT_E_ASN1_ERROR As HResult = &H80093100
        Public Shared ReadOnly CRYPT_E_ASN1_INTERNAL As HResult = &H80093101
        Public Shared ReadOnly CRYPT_E_ASN1_EOD As HResult = &H80093102
        Public Shared ReadOnly CRYPT_E_ASN1_CORRUPT As HResult = &H80093103
        Public Shared ReadOnly CRYPT_E_ASN1_LARGE As HResult = &H80093104
        Public Shared ReadOnly CRYPT_E_ASN1_CONSTRAINT As HResult = &H80093105
        Public Shared ReadOnly CRYPT_E_ASN1_MEMORY As HResult = &H80093106
        Public Shared ReadOnly CRYPT_E_ASN1_OVERFLOW As HResult = &H80093107
        Public Shared ReadOnly CRYPT_E_ASN1_BADPDU As HResult = &H80093108
        Public Shared ReadOnly CRYPT_E_ASN1_BADARGS As HResult = &H80093109
        Public Shared ReadOnly CRYPT_E_ASN1_BADREAL As HResult = &H8009310A
        Public Shared ReadOnly CRYPT_E_ASN1_BADTAG As HResult = &H8009310B
        Public Shared ReadOnly CRYPT_E_ASN1_CHOICE As HResult = &H8009310C
        Public Shared ReadOnly CRYPT_E_ASN1_RULE As HResult = &H8009310D
        Public Shared ReadOnly CRYPT_E_ASN1_UTF8 As HResult = &H8009310E
        Public Shared ReadOnly CRYPT_E_ASN1_PDU_TYPE As HResult = &H80093133
        Public Shared ReadOnly CRYPT_E_ASN1_NYI As HResult = &H80093134
        Public Shared ReadOnly CRYPT_E_ASN1_EXTENDED As HResult = &H80093201
        Public Shared ReadOnly CRYPT_E_ASN1_NOEOD As HResult = &H80093202
        Public Shared ReadOnly CERTSRV_E_BAD_REQUESTSUBJECT As HResult = &H80094001
        Public Shared ReadOnly CERTSRV_E_NO_REQUEST As HResult = &H80094002
        Public Shared ReadOnly CERTSRV_E_BAD_REQUESTSTATUS As HResult = &H80094003
        Public Shared ReadOnly CERTSRV_E_PROPERTY_EMPTY As HResult = &H80094004
        Public Shared ReadOnly CERTSRV_E_INVALID_CA_CERTIFICATE As HResult = &H80094005
        Public Shared ReadOnly CERTSRV_E_SERVER_SUSPENDED As HResult = &H80094006
        Public Shared ReadOnly CERTSRV_E_ENCODING_LENGTH As HResult = &H80094007
        Public Shared ReadOnly CERTSRV_E_ROLECONFLICT As HResult = &H80094008
        Public Shared ReadOnly CERTSRV_E_RESTRICTEDOFFICER As HResult = &H80094009
        Public Shared ReadOnly CERTSRV_E_KEY_ARCHIVAL_NOT_CONFIGURED As HResult = &H8009400A
        Public Shared ReadOnly CERTSRV_E_NO_VALID_KRA As HResult = &H8009400B
        Public Shared ReadOnly CERTSRV_E_BAD_REQUEST_KEY_ARCHIVAL As HResult = &H8009400C
        Public Shared ReadOnly CERTSRV_E_NO_CAADMIN_DEFINED As HResult = &H8009400D
        Public Shared ReadOnly CERTSRV_E_BAD_RENEWAL_CERT_ATTRIBUTE As HResult = &H8009400E
        Public Shared ReadOnly CERTSRV_E_NO_DB_SESSIONS As HResult = &H8009400F
        Public Shared ReadOnly CERTSRV_E_ALIGNMENT_FAULT As HResult = &H80094010
        Public Shared ReadOnly CERTSRV_E_ENROLL_DENIED As HResult = &H80094011
        Public Shared ReadOnly CERTSRV_E_TEMPLATE_DENIED As HResult = &H80094012
        Public Shared ReadOnly CERTSRV_E_DOWNLEVEL_DC_SSL_OR_UPGRADE As HResult = &H80094013
        Public Shared ReadOnly CERTSRV_E_UNSUPPORTED_CERT_TYPE As HResult = &H80094800
        Public Shared ReadOnly CERTSRV_E_NO_CERT_TYPE As HResult = &H80094801
        Public Shared ReadOnly CERTSRV_E_TEMPLATE_CONFLICT As HResult = &H80094802
        Public Shared ReadOnly CERTSRV_E_SUBJECT_ALT_NAME_REQUIRED As HResult = &H80094803
        Public Shared ReadOnly CERTSRV_E_ARCHIVED_KEY_REQUIRED As HResult = &H80094804
        Public Shared ReadOnly CERTSRV_E_SMIME_REQUIRED As HResult = &H80094805
        Public Shared ReadOnly CERTSRV_E_BAD_RENEWAL_SUBJECT As HResult = &H80094806
        Public Shared ReadOnly CERTSRV_E_BAD_TEMPLATE_VERSION As HResult = &H80094807
        Public Shared ReadOnly CERTSRV_E_TEMPLATE_POLICY_REQUIRED As HResult = &H80094808
        Public Shared ReadOnly CERTSRV_E_SIGNATURE_POLICY_REQUIRED As HResult = &H80094809
        Public Shared ReadOnly CERTSRV_E_SIGNATURE_COUNT As HResult = &H8009480A
        Public Shared ReadOnly CERTSRV_E_SIGNATURE_REJECTED As HResult = &H8009480B
        Public Shared ReadOnly CERTSRV_E_ISSUANCE_POLICY_REQUIRED As HResult = &H8009480C
        Public Shared ReadOnly CERTSRV_E_SUBJECT_UPN_REQUIRED As HResult = &H8009480D
        Public Shared ReadOnly CERTSRV_E_SUBJECT_DIRECTORY_GUID_REQUIRED As HResult = &H8009480E
        Public Shared ReadOnly CERTSRV_E_SUBJECT_DNS_REQUIRED As HResult = &H8009480F
        Public Shared ReadOnly CERTSRV_E_ARCHIVED_KEY_UNEXPECTED As HResult = &H80094810
        Public Shared ReadOnly CERTSRV_E_KEY_LENGTH As HResult = &H80094811
        Public Shared ReadOnly CERTSRV_E_SUBJECT_EMAIL_REQUIRED As HResult = &H80094812
        Public Shared ReadOnly CERTSRV_E_UNKNOWN_CERT_TYPE As HResult = &H80094813
        Public Shared ReadOnly CERTSRV_E_CERT_TYPE_OVERLAP As HResult = &H80094814
        Public Shared ReadOnly CERTSRV_E_TOO_MANY_SIGNATURES As HResult = &H80094815
        Public Shared ReadOnly XENROLL_E_KEY_NOT_EXPORTABLE As HResult = &H80095000
        Public Shared ReadOnly XENROLL_E_CANNOT_ADD_ROOT_CERT As HResult = &H80095001
        Public Shared ReadOnly XENROLL_E_RESPONSE_KA_HASH_NOT_FOUND As HResult = &H80095002
        Public Shared ReadOnly XENROLL_E_RESPONSE_UNEXPECTED_KA_HASH As HResult = &H80095003
        Public Shared ReadOnly XENROLL_E_RESPONSE_KA_HASH_MISMATCH As HResult = &H80095004
        Public Shared ReadOnly XENROLL_E_KEYSPEC_SMIME_MISMATCH As HResult = &H80095005
        Public Shared ReadOnly TRUST_E_SYSTEM_ERROR As HResult = &H80096001
        Public Shared ReadOnly TRUST_E_NO_SIGNER_CERT As HResult = &H80096002
        Public Shared ReadOnly TRUST_E_COUNTER_SIGNER As HResult = &H80096003
        Public Shared ReadOnly TRUST_E_CERT_SIGNATURE As HResult = &H80096004
        Public Shared ReadOnly TRUST_E_TIME_STAMP As HResult = &H80096005
        Public Shared ReadOnly TRUST_E_BAD_DIGEST As HResult = &H80096010
        Public Shared ReadOnly TRUST_E_BASIC_CONSTRAINTS As HResult = &H80096019
        Public Shared ReadOnly TRUST_E_FINANCIAL_CRITERIA As HResult = &H8009601E
        Public Shared ReadOnly MSSIPOTF_E_OUTOFMEMRANGE As HResult = &H80097001
        Public Shared ReadOnly MSSIPOTF_E_CANTGETOBJECT As HResult = &H80097002
        Public Shared ReadOnly MSSIPOTF_E_NOHEADTABLE As HResult = &H80097003
        Public Shared ReadOnly MSSIPOTF_E_BAD_MAGICNUMBER As HResult = &H80097004
        Public Shared ReadOnly MSSIPOTF_E_BAD_OFFSET_TABLE As HResult = &H80097005
        Public Shared ReadOnly MSSIPOTF_E_TABLE_TAGORDER As HResult = &H80097006
        Public Shared ReadOnly MSSIPOTF_E_TABLE_LONGWORD As HResult = &H80097007
        Public Shared ReadOnly MSSIPOTF_E_BAD_FIRST_TABLE_PLACEMENT As HResult = &H80097008
        Public Shared ReadOnly MSSIPOTF_E_TABLES_OVERLAP As HResult = &H80097009
        Public Shared ReadOnly MSSIPOTF_E_TABLE_PADBYTES As HResult = &H8009700A
        Public Shared ReadOnly MSSIPOTF_E_FILETOOSMALL As HResult = &H8009700B
        Public Shared ReadOnly MSSIPOTF_E_TABLE_CHECKSUM As HResult = &H8009700C
        Public Shared ReadOnly MSSIPOTF_E_FILE_CHECKSUM As HResult = &H8009700D
        Public Shared ReadOnly MSSIPOTF_E_FAILED_POLICY As HResult = &H80097010
        Public Shared ReadOnly MSSIPOTF_E_FAILED_HINTS_CHECK As HResult = &H80097011
        Public Shared ReadOnly MSSIPOTF_E_NOT_OPENTYPE As HResult = &H80097012
        Public Shared ReadOnly MSSIPOTF_E_FILE As HResult = &H80097013
        Public Shared ReadOnly MSSIPOTF_E_CRYPT As HResult = &H80097014
        Public Shared ReadOnly MSSIPOTF_E_BADVERSION As HResult = &H80097015
        Public Shared ReadOnly MSSIPOTF_E_DSIG_STRUCTURE As HResult = &H80097016
        Public Shared ReadOnly MSSIPOTF_E_PCONST_CHECK As HResult = &H80097017
        Public Shared ReadOnly MSSIPOTF_E_STRUCTURE As HResult = &H80097018
        Public Shared ReadOnly ERROR_CRED_REQUIRES_CONFIRMATION As HResult = &H80097019
    End Class

End Namespace